package com.bhf.model.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author pwq
 */
@Data
public class UserOperationLog implements Serializable {
    private static final long serialVersionUID = 5317862386968879675L;

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Long userId;
    private String operation;
    private String methodName;
    private String className;
    private String ip;
    private Integer result;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
